package com.yunduansing.demo.api;

import com.yunduansing.demo.model.common.ResponseModel;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AuthApi {
    @GetMapping("/auth/validate")
    public ResponseModel validate(String token){
        return ResponseModel.ok("hello "+token);
    }
}
